﻿namespace MeshSharp.Core.Models
{
    internal class Triangle
    {
        public int Id { get; set; }
        //Vertex indices
        public int[] Indices;
        //Edge indices
        public int[] Edges;

        public Triangle(int[] indices)
        {
            //just pass the indices for now
            Indices = indices;
            //we'll take care of the edges later
        }
        public Triangle(int a, int b, int c) :
            this(new int[] { a, b, c })
        {
        }
    }
}